package kr.etcsoft.examples.binding.model;

import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("rawtypes")
public class Catalog extends BindableObject {
    private String name;
    private List catalogs = new ArrayList();
    private List items = new ArrayList();

    public Catalog(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        firePropertyChange("name", this.name, this.name = name);
    }

    public List getCatalogs() {
        return catalogs;
    }

    public void setCatalogs(List catalogs) {
        firePropertyChange("catalogs", this.catalogs, this.catalogs = catalogs);
    }

    public List getItems() {
        return items;
    }

    public void setItems(List items) {
        firePropertyChange("items", this.items, this.items = items);
    }


}
